package com.lagou.dao;

import com.lagou.pojo.UserToken;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by wangq on 2021/9/27.
 */
public interface UserTokenDao extends JpaRepository<UserToken, Long> {
    UserToken findByEmail(String email);

    UserToken findByToken(String token);
}
